package com.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OtherregistrationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public OtherregistrationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andServiceidIsNull() {
            addCriterion("serviceid is null");
            return (Criteria) this;
        }

        public Criteria andServiceidIsNotNull() {
            addCriterion("serviceid is not null");
            return (Criteria) this;
        }

        public Criteria andServiceidEqualTo(Integer value) {
            addCriterion("serviceid =", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidNotEqualTo(Integer value) {
            addCriterion("serviceid <>", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidGreaterThan(Integer value) {
            addCriterion("serviceid >", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidGreaterThanOrEqualTo(Integer value) {
            addCriterion("serviceid >=", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidLessThan(Integer value) {
            addCriterion("serviceid <", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidLessThanOrEqualTo(Integer value) {
            addCriterion("serviceid <=", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidIn(List<Integer> values) {
            addCriterion("serviceid in", values, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidNotIn(List<Integer> values) {
            addCriterion("serviceid not in", values, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidBetween(Integer value1, Integer value2) {
            addCriterion("serviceid between", value1, value2, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidNotBetween(Integer value1, Integer value2) {
            addCriterion("serviceid not between", value1, value2, "serviceid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidIsNull() {
            addCriterion("registrationtypeid is null");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidIsNotNull() {
            addCriterion("registrationtypeid is not null");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidEqualTo(Integer value) {
            addCriterion("registrationtypeid =", value, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidNotEqualTo(Integer value) {
            addCriterion("registrationtypeid <>", value, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidGreaterThan(Integer value) {
            addCriterion("registrationtypeid >", value, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("registrationtypeid >=", value, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidLessThan(Integer value) {
            addCriterion("registrationtypeid <", value, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidLessThanOrEqualTo(Integer value) {
            addCriterion("registrationtypeid <=", value, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidIn(List<Integer> values) {
            addCriterion("registrationtypeid in", values, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidNotIn(List<Integer> values) {
            addCriterion("registrationtypeid not in", values, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidBetween(Integer value1, Integer value2) {
            addCriterion("registrationtypeid between", value1, value2, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andRegistrationtypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("registrationtypeid not between", value1, value2, "registrationtypeid");
            return (Criteria) this;
        }

        public Criteria andObligeeIsNull() {
            addCriterion("obligee is null");
            return (Criteria) this;
        }

        public Criteria andObligeeIsNotNull() {
            addCriterion("obligee is not null");
            return (Criteria) this;
        }

        public Criteria andObligeeEqualTo(Integer value) {
            addCriterion("obligee =", value, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeNotEqualTo(Integer value) {
            addCriterion("obligee <>", value, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeGreaterThan(Integer value) {
            addCriterion("obligee >", value, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeGreaterThanOrEqualTo(Integer value) {
            addCriterion("obligee >=", value, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeLessThan(Integer value) {
            addCriterion("obligee <", value, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeLessThanOrEqualTo(Integer value) {
            addCriterion("obligee <=", value, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeIn(List<Integer> values) {
            addCriterion("obligee in", values, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeNotIn(List<Integer> values) {
            addCriterion("obligee not in", values, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeBetween(Integer value1, Integer value2) {
            addCriterion("obligee between", value1, value2, "obligee");
            return (Criteria) this;
        }

        public Criteria andObligeeNotBetween(Integer value1, Integer value2) {
            addCriterion("obligee not between", value1, value2, "obligee");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberIsNull() {
            addCriterion("boligeenumber is null");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberIsNotNull() {
            addCriterion("boligeenumber is not null");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberEqualTo(String value) {
            addCriterion("boligeenumber =", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberNotEqualTo(String value) {
            addCriterion("boligeenumber <>", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberGreaterThan(String value) {
            addCriterion("boligeenumber >", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberGreaterThanOrEqualTo(String value) {
            addCriterion("boligeenumber >=", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberLessThan(String value) {
            addCriterion("boligeenumber <", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberLessThanOrEqualTo(String value) {
            addCriterion("boligeenumber <=", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberLike(String value) {
            addCriterion("boligeenumber like", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberNotLike(String value) {
            addCriterion("boligeenumber not like", value, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberIn(List<String> values) {
            addCriterion("boligeenumber in", values, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberNotIn(List<String> values) {
            addCriterion("boligeenumber not in", values, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberBetween(String value1, String value2) {
            addCriterion("boligeenumber between", value1, value2, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andBoligeenumberNotBetween(String value1, String value2) {
            addCriterion("boligeenumber not between", value1, value2, "boligeenumber");
            return (Criteria) this;
        }

        public Criteria andObligorIsNull() {
            addCriterion("obligor is null");
            return (Criteria) this;
        }

        public Criteria andObligorIsNotNull() {
            addCriterion("obligor is not null");
            return (Criteria) this;
        }

        public Criteria andObligorEqualTo(Integer value) {
            addCriterion("obligor =", value, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorNotEqualTo(Integer value) {
            addCriterion("obligor <>", value, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorGreaterThan(Integer value) {
            addCriterion("obligor >", value, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorGreaterThanOrEqualTo(Integer value) {
            addCriterion("obligor >=", value, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorLessThan(Integer value) {
            addCriterion("obligor <", value, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorLessThanOrEqualTo(Integer value) {
            addCriterion("obligor <=", value, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorIn(List<Integer> values) {
            addCriterion("obligor in", values, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorNotIn(List<Integer> values) {
            addCriterion("obligor not in", values, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorBetween(Integer value1, Integer value2) {
            addCriterion("obligor between", value1, value2, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligorNotBetween(Integer value1, Integer value2) {
            addCriterion("obligor not between", value1, value2, "obligor");
            return (Criteria) this;
        }

        public Criteria andObligornumberIsNull() {
            addCriterion("obligornumber is null");
            return (Criteria) this;
        }

        public Criteria andObligornumberIsNotNull() {
            addCriterion("obligornumber is not null");
            return (Criteria) this;
        }

        public Criteria andObligornumberEqualTo(String value) {
            addCriterion("obligornumber =", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberNotEqualTo(String value) {
            addCriterion("obligornumber <>", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberGreaterThan(String value) {
            addCriterion("obligornumber >", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberGreaterThanOrEqualTo(String value) {
            addCriterion("obligornumber >=", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberLessThan(String value) {
            addCriterion("obligornumber <", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberLessThanOrEqualTo(String value) {
            addCriterion("obligornumber <=", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberLike(String value) {
            addCriterion("obligornumber like", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberNotLike(String value) {
            addCriterion("obligornumber not like", value, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberIn(List<String> values) {
            addCriterion("obligornumber in", values, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberNotIn(List<String> values) {
            addCriterion("obligornumber not in", values, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberBetween(String value1, String value2) {
            addCriterion("obligornumber between", value1, value2, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andObligornumberNotBetween(String value1, String value2) {
            addCriterion("obligornumber not between", value1, value2, "obligornumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberIsNull() {
            addCriterion("prevregisternumber is null");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberIsNotNull() {
            addCriterion("prevregisternumber is not null");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberEqualTo(String value) {
            addCriterion("prevregisternumber =", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberNotEqualTo(String value) {
            addCriterion("prevregisternumber <>", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberGreaterThan(String value) {
            addCriterion("prevregisternumber >", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberGreaterThanOrEqualTo(String value) {
            addCriterion("prevregisternumber >=", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberLessThan(String value) {
            addCriterion("prevregisternumber <", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberLessThanOrEqualTo(String value) {
            addCriterion("prevregisternumber <=", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberLike(String value) {
            addCriterion("prevregisternumber like", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberNotLike(String value) {
            addCriterion("prevregisternumber not like", value, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberIn(List<String> values) {
            addCriterion("prevregisternumber in", values, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberNotIn(List<String> values) {
            addCriterion("prevregisternumber not in", values, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberBetween(String value1, String value2) {
            addCriterion("prevregisternumber between", value1, value2, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andPrevregisternumberNotBetween(String value1, String value2) {
            addCriterion("prevregisternumber not between", value1, value2, "prevregisternumber");
            return (Criteria) this;
        }

        public Criteria andRegistertimeIsNull() {
            addCriterion("registertime is null");
            return (Criteria) this;
        }

        public Criteria andRegistertimeIsNotNull() {
            addCriterion("registertime is not null");
            return (Criteria) this;
        }

        public Criteria andRegistertimeEqualTo(Date value) {
            addCriterion("registertime =", value, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeNotEqualTo(Date value) {
            addCriterion("registertime <>", value, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeGreaterThan(Date value) {
            addCriterion("registertime >", value, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeGreaterThanOrEqualTo(Date value) {
            addCriterion("registertime >=", value, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeLessThan(Date value) {
            addCriterion("registertime <", value, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeLessThanOrEqualTo(Date value) {
            addCriterion("registertime <=", value, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeIn(List<Date> values) {
            addCriterion("registertime in", values, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeNotIn(List<Date> values) {
            addCriterion("registertime not in", values, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeBetween(Date value1, Date value2) {
            addCriterion("registertime between", value1, value2, "registertime");
            return (Criteria) this;
        }

        public Criteria andRegistertimeNotBetween(Date value1, Date value2) {
            addCriterion("registertime not between", value1, value2, "registertime");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("`uid` is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("`uid` is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("`uid` =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("`uid` <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("`uid` >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("`uid` >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("`uid` <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("`uid` <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("`uid` in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("`uid` not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("`uid` between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("`uid` not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidIsNull() {
            addCriterion("prevserviceid is null");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidIsNotNull() {
            addCriterion("prevserviceid is not null");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidEqualTo(Integer value) {
            addCriterion("prevserviceid =", value, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidNotEqualTo(Integer value) {
            addCriterion("prevserviceid <>", value, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidGreaterThan(Integer value) {
            addCriterion("prevserviceid >", value, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidGreaterThanOrEqualTo(Integer value) {
            addCriterion("prevserviceid >=", value, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidLessThan(Integer value) {
            addCriterion("prevserviceid <", value, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidLessThanOrEqualTo(Integer value) {
            addCriterion("prevserviceid <=", value, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidIn(List<Integer> values) {
            addCriterion("prevserviceid in", values, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidNotIn(List<Integer> values) {
            addCriterion("prevserviceid not in", values, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidBetween(Integer value1, Integer value2) {
            addCriterion("prevserviceid between", value1, value2, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andPrevserviceidNotBetween(Integer value1, Integer value2) {
            addCriterion("prevserviceid not between", value1, value2, "prevserviceid");
            return (Criteria) this;
        }

        public Criteria andDescriptIsNull() {
            addCriterion("descript is null");
            return (Criteria) this;
        }

        public Criteria andDescriptIsNotNull() {
            addCriterion("descript is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptEqualTo(String value) {
            addCriterion("descript =", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptNotEqualTo(String value) {
            addCriterion("descript <>", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptGreaterThan(String value) {
            addCriterion("descript >", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptGreaterThanOrEqualTo(String value) {
            addCriterion("descript >=", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptLessThan(String value) {
            addCriterion("descript <", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptLessThanOrEqualTo(String value) {
            addCriterion("descript <=", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptLike(String value) {
            addCriterion("descript like", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptNotLike(String value) {
            addCriterion("descript not like", value, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptIn(List<String> values) {
            addCriterion("descript in", values, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptNotIn(List<String> values) {
            addCriterion("descript not in", values, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptBetween(String value1, String value2) {
            addCriterion("descript between", value1, value2, "descript");
            return (Criteria) this;
        }

        public Criteria andDescriptNotBetween(String value1, String value2) {
            addCriterion("descript not between", value1, value2, "descript");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNull() {
            addCriterion("roomid is null");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNotNull() {
            addCriterion("roomid is not null");
            return (Criteria) this;
        }

        public Criteria andRoomidEqualTo(Integer value) {
            addCriterion("roomid =", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotEqualTo(Integer value) {
            addCriterion("roomid <>", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThan(Integer value) {
            addCriterion("roomid >", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThanOrEqualTo(Integer value) {
            addCriterion("roomid >=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThan(Integer value) {
            addCriterion("roomid <", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThanOrEqualTo(Integer value) {
            addCriterion("roomid <=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidIn(List<Integer> values) {
            addCriterion("roomid in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotIn(List<Integer> values) {
            addCriterion("roomid not in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidBetween(Integer value1, Integer value2) {
            addCriterion("roomid between", value1, value2, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotBetween(Integer value1, Integer value2) {
            addCriterion("roomid not between", value1, value2, "roomid");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}